Skip to content

fix: use polite tone in chat answers(대답 유형 일치 시키기)#33

Merged
1024andrew merged 1 commit intodevfrom
fix/#32
May 4, 2026
Merged

fix: use polite tone in chat answers(대답 유형 일치 시키기)#33
1024andrew merged 1 commit intodevfrom
fix/#32

Conversation

@1024andrew
Copy link
Copy Markdown
Contributor

@1024andrew 1024andrew commented May 4, 2026

유형

  • Feat
  • Fix
  • Design
  • Docs
  • Chore
  • Hotfix

변경 사항

  • 챗봇 답변이 일부 케이스에서 ~다체로 출력되는 문제를 방지하기 위해 프롬프트 문구를 존댓말 형식으로 수정했습니다.
  • 라면/취사 관련 안내 문장을 허용되지 않는다에서 허용되지 않습니다로 변경했습니다.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates a specific example in the LLM prompt to use polite language. The review feedback suggests adding a global instruction to the prompt to ensure all responses consistently use polite form, as the model might otherwise mimic the plain style found in source regulations.

Comment thread app/services/generator.py
"일반적으로", "가능성이 높습니다", "가능할 수 있습니다", "허용되지 않을 것으로 보입니다", "확인하는 것이 좋습니다"처럼 근거 없는 추측 표현을 사용하지 마라.
사용자가 "방에서 라면 먹어도 돼?"처럼 질문한 경우, 참고 정보에 방 안 취식 금지 규정이 없으면 라면을 먹는 행위 자체를 금지한다고 단정하지 마라.
다만 참고 정보에 라면포트, 전기포트, 전열기구, 취사행위 금지 내용이 있으면 "방에서 라면을 조리해 먹는 것은 허용되지 않는다"라고 안내해라.
다만 참고 정보에 라면포트, 전기포트, 전열기구, 취사행위 금지 내용이 있으면 "방에서 라면을 조리해 먹는 것은 허용되지 않습니다"라고 안내해라.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

특정 사례(라면 조리)에 대한 예시 문구만 수정하는 것보다, 프롬프트에 '모든 답변은 반드시 존댓말(~습니다 체)로 작성해야 한다'는 명시적인 지침을 추가하는 것이 더 근본적인 해결책이 될 수 있습니다. 기숙사 규정 원문은 보통 평어체(~다 체)로 되어 있어, LLM이 이를 요약하거나 인용할 때 말투를 그대로 따라갈 가능성이 높기 때문입니다.

Suggested change
다만 참고 정보에 라면포트, 전기포트, 전열기구, 취사행위 금지 내용이 있으면 "방에서 라면을 조리해 먹는 것은 허용되지 않습니다"라고 안내해라.
다만 참고 정보에 라면포트, 전기포트, 전열기구, 취사행위 금지 내용이 있으면 "방에서 라면을 조리해 먹는 것은 허용되지 않습니다"라고 안내해라.
모든 답변은 반드시 친절한 존댓말(~습니다 ) 작성해라.

@1024andrew 1024andrew merged commit 3cbe5fc into dev May 4, 2026
1 check passed
@1024andrew 1024andrew changed the title fix: use polite tone in chat answers fix: use polite tone in chat answers(대답 유형 일치 시키기) May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant